#!/bin/bash - 
#===============================================================================
#
#          FILE:  ex11-5.sh
# 
#         USAGE:  ./ex11-5.sh 
# 
#   DESCRIPTION:  Missing in [list] in a for loop
# 
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR: bucunzai (), freecityer@gmail.com
#       COMPANY: FreeCity
#       CREATED: 2011年02月09日 15时49分43秒 CST
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error

for a
do
    echo -n "$a "
done

echo

for ((a=1; a<=3; a++))
do
    for b in 1 2 3
    do
        echo "$a-$b"
    done
done

exit 0
